package com.example.service;

import com.example.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cyk
 * @since 2022-02-19
 */
@Service
public interface UserService extends IService<User> {
    int saveUser(User user);

    public User findByAccount(String account);

    public User findID(String account);

    int deleteUser(Long id);

}
